parent

public abstract Optional<Frame> parent()

Returns an Optional that contains the parent Frame instance or an empty Optional if the current frame is a main (top-level) frame and it does not have a parent.

Throws

when the frame is closed